/*
 * @Author: zgx 2324461523@qq.com
 * @Date: 2024-01-28 23:36:16
 * @LastEditors: zgx 2324461523@qq.com
 * @LastEditTime: 2024-02-22 10:19:38
 * @FilePath: \tph_shop\src\store\index.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createPinia } from 'pinia'
// pinia持久化插件
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const pinia = createPinia()
// 使用持久化插件
pinia.use(piniaPluginPersistedstate)

// 供main.ts调用
export default pinia
